package com.tubi.integer3;
//Integer.parseInt(s1); 字符串变整数
public class Integer3 {
    public static void main(String[] args) {
        String s1 = "200";
        int s2 = 100;

        int i = Integer.parseInt(s1);
        System.out.println(i+s2);

        //int 变String
        int i3= 100;
        String ss = i3 +"";
        System.out.println(ss);

        // 可以调用String中的valueof
        int dd = 11;
        String dsd = String.valueOf(dd);
        System.out.println(dsd+11);
    }
}
